#pragma once

using namespace System;
using namespace SbCli;

#define DEFCLASS(this,super,base)		public: typedef this this_type; typedef super super_type; typedef base base_type;
#define SELF							((base_type*)P)

namespace SbCli
{
	namespace Qgp
	{
		//////////////////////////////////////////////////////////////////////////
		public ref class RoamObject : BaseObject
		{
			DEFCLASS(RoamObject, BaseObject, qgObj);

		protected:
			RoamObject(IntPtr handle)
				: super_type(handle)
			{
			}

		public:
			int GetRoam()
			{
				//return _handle == IntPtr::Zero ? 0 : ((qgObj*)P)->GetRoam();
				return 0;
			}

			void SetRoam(int roam)
			{
				//((qsBase*)P)->SetRoam(roam);
			}
		};


		//////////////////////////////////////////////////////////////////////////
		public interface class IRenderApplication
		{
			void OnRenderInitialize();
			void OnRenderDispose();
			void OnRenderUpdate();
			void OnRenderDraw();
		};
	}
}

